{% set path = options.link.url|default(path(options.link.route, options.link.parameters|default({}))) %}
{% set message = action.label %}

<a href="{{ path }}" class="btn">
    {% if action.icon is not null %}{{ ux_icon(action.icon) }}{% endif %}
    {% if message %}{{ message|trans }}{% endif %}
</a>
